package com.logic.service;

import java.util.List;

import com.database.bean.BaseBean;
import com.database.bean.CompanyRoundDecisionAndResult;
import com.database.bean.User;

public interface UserService  extends BaseService<BaseBean> {

	public abstract boolean createUser(String firstname, String lastname,String nickname, String email, String password);

	public abstract void updateUser(User user);

	public abstract User login(String nickname, String password);
	
	public abstract List<User> getAllUsers();
	
	public abstract boolean deleteUser(User user);
	
	public abstract boolean isNicknameUsed(String nickname);
	
	public abstract User reloadCompanyRoundDecisionAndResults(User user);
	
	public abstract User reloadGame(User user);
	
	public abstract CompanyRoundDecisionAndResult reloadReportDecisions(CompanyRoundDecisionAndResult crDecRes);

	public abstract User getUserByNickname(String nickname);
}